<?xml version="1.0" encoding="utf-8"?>
<Content type="xform" name="EditContent">
	<model>
		<instance>
			<provider name="SecPayUkash" validGroups="all" validCurrencies="GBP">
				<description value="Pay by UKash" />
				<currency value="GBP" />
				<accountId value="stella01" />
				<accountPassword value="bustercat" />
				<opperationMode value="true" />
				<sendAddress value="on" />
				<orderType value="off" />
				<altMerchantEmail value=""/>
				<altMerchantName value=""/>
			</provider>		
		</instance>
		<submission id="EditContent" action="" method="post" event="return form_check(this)"/>
		<bind nodeset="provider">
			<bind id="description" nodeset="description/@value" required="true()" type="string"/>
			<bind id="accountId" nodeset="accountId/@value" required="true()" type="string"/>
			<bind id="accountPassword" nodeset="accountPassword/@value" required="true()" type="string"/>
			<bind id="currency" nodeset="currency/@value" required="true()" type="string"/>
			<bind id="opperationMode" nodeset="opperationMode/@value" required="true()" type="string"/>
			<bind id="sendAddress" nodeset="sendAddress/@value" required="true()" type="string"/>
			<bind id="orderType" nodeset="orderType/@value" required="true()" type="string"/>
			<bind id="altMerchantEmail" nodeset="altMerchantEmail/@value" required="false()" type="email"/>
			<bind id="altMerchantName" nodeset="altMerchantName/@value" required="false()" type="string"/>
		</bind>
	</model>
	<group ref="EditContent">
		<label>SecPayUkash Settings</label>
		<input bind="description" class="long">
			<label>Description</label>
		</input>
		<input bind="accountId">
			<label>Account Id</label>
		</input>
		<input bind="accountPassword">
			<label>Account Password</label>
		</input>
		<input bind="currency">
			<label>Default Currency</label>
		</input>
		<select1 bind="opperationMode" appearance="full" class="required">
			<label>Opperation Mode</label>
			<item>
				<label>Live</label>
				<value>live</value>
			</item>
			<item>
				<label>Test</label>
				<value>true</value>
			</item>
			<item>
				<label>Test False</label>
				<value>false</value>
			</item>
		</select1>
		<select1 bind="sendAddress" appearance="full" class="required">
			<label>Validate Address</label>
			<item>
				<label>Yes</label>
				<value>on</value>
			</item>
			<item>
				<label>No</label>
				<value>off</value>
			</item>
		</select1>
		<input bind="altMerchantName" class="long">
			<label>Alternative Merchant Name</label>
		</input>
		<input bind="altMerchantEmail" class="long">
			<label>Alternative Merchant Email</label>
		</input>
		<submit submission="" ref="ewSubmit" class="principle">
			<label>Save Settings</label>
		</submit>
	</group>
</Content>
